#ifndef IEEE_ROBOT_H_
#define IEEE_ROBOT_H_

//global settings
#define FOSC 4000000    //Fosc at the moment
#define TCY 4/FOSC
#define TCYCNT_4_MS 0.001/TCY  


//bit manipulation routines
#define set_bit(REG,BIT) (REG | (1 << BIT))
#define clear_bit(REG,BIT) (REG & (~(1 <<BIT)))
#define test_bit(REG,BIT) (REG & (1 << BIT))


#endif

